<?php /*a:1:{s:48:"/www/wwwroot/fw.zckj7.cn/view/index/welcome.html";i:1619316612;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="description" content="">
    <meta name="author" content="">
    <meta name="keywords" content="">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>fire管理系统</title>
    <link rel="stylesheet" href="/static/common/css/welcome.css?v=<?php echo htmlentities($version); ?>">
    <script src="/static/plugs/layui-v2.5.6/layui.all.js?v=<?php echo htmlentities($version); ?>" charset="utf-8"></script>
    <script src="/static/plugs/require-2.3.6/require.js?v=<?php echo htmlentities($version); ?>" charset="utf-8"></script>

	<style>
	#captcha{ width: 298px; height: 40px; line-height: 40px; border: 1px solid #00b1ec; padding: 0; outline: none; text-align: center;}
	#savebtn{ height: 42px; background: #00b1ec; color: #fff; border-radius: 0; width: 300px; display: block; line-height: 42px; margin: 20px auto 0 auto}
	</style>
</head>
<body>
<div id='app'>
    <!-- 头部-->
    <div class="home-main">
        <div class="title">
            <p><i class="name img-name"></i></p>
            <p class="desc"><?php echo sysconfig('site','index_title'); ?></p>
            <p class="operation">
                <input id="captcha" type="text" name="captcha" placeholder="请输入认证码" >
			</p>
			<p>
                <a id="savebtn">提交</a>
            </p>
        </div>
    </div>

    <!-- 底部-->
    <footer class="site-footer">
        <div class="container">
            <p class="beian-number"><?php echo sysconfig('site','site_copyright'); ?> | <a target="_blank" href="http://www.miitbeian.gov.cn"><?php echo sysconfig('site','site_beian'); ?></a></p>
        </div>
    </footer>
</div>
</body>
<script>
 layui.use(['jquery', 'layer'], function () {
        var $ = layui.jquery,
            layer = layui.layer;
            
       $('#savebtn').on("click", function () {
           $.post({
                url: 'admin/Ajax/prove',
                prefix: true,
                data: {
                    captcha: $('#captcha').val(),
                },
            }, function (res) {
                if(res.code == 1){
                      layer.msg(res.msg);
                    window.location = res.url;
                }else{
                     layer.msg(res.msg);
                }
            });
        });
     
    });
  
</script>
</html>
